Error Handing

Hi ,

Is there a function like "try catch finally" in DXL?

I want to DXL script  continue running  when error happends. 

Thank you in advance!

Alice


P6FR_sun_ran - Wed Nov 26 00:57:17 EST 2014

Re: Error Handing
Mathias Mamsch - Wed Nov 26 03:33:00 EST 2014

Nope. Another area where the DXL designers have not paid a lot attention to. DXL knows only a basic error suppression using "noError()" and "lastError()" - some errors you cannot suppress at all, they will pop up a message in the face of the user, or end your DXL. Most common errors can be avoided though using noError() / lastError().

Regards, Mathias

Re: Error Handing
P6FR_sun_ran - Mon Dec 01 05:03:50 EST 2014

Mathias Mamsch - Wed Nov 26 03:33:00 EST 2014

Nope. Another area where the DXL designers have not paid a lot attention to. DXL knows only a basic error suppression using "noError()" and "lastError()" - some errors you cannot suppress at all, they will pop up a message in the face of the user, or end your DXL. Most common errors can be avoided though using noError() / lastError().

Regards, Mathias

What a pity !

Thank you very much!